package com.szcinda.rpa.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface JobDetailRepository extends JpaRepository<JobDetail, String>, JpaSpecificationExecutor<JobDetail> {
    JobDetail findByOrderNoAndJobName(String orderNo, String jobName);
    List<JobDetail> findByOrderNo(String orderNo);
}
